import React from 'react';
import './index.less';

const Btn = ({children, className, onClick}) => {

  const cls = className?`${className} x-btn`:`x-btn`;

  return (
    <div onClick={(e) => {
      onClick && onClick(e);
    }} className={cls}>
      {children}
    </div>
  )
}

Btn.propTypes = {};

export default Btn;
